import React from 'react';
import TableEnhance from "../../../common/table/TableEnhance";
import menuColumns from "../../../columns/MenuColumns";
import {fetchMenuPageData} from "../../../storage/redux/async-action/menuAsyncAction";

const MenuComponent = () => {
    return (
        <TableEnhance
            title={"菜单管理"}
            storeName={"menu"}
            pageAsyncAction={fetchMenuPageData}
            columns={menuColumns}
        />
    );
};

export default MenuComponent;